﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace carShopControl.DAL
{
    class CommonDAL
    {
        private static carShopDataContext carShopDB=new carShopDataContext();
        public static carShopDataContext CarShopDB
        {
            get
            {
                if (carShopDB==null)
                {
                    carShopDB = new carShopDataContext();
                }
                return carShopDB;
            }
        }
    }
}
